package Bean;

import org.litepal.crud.DataSupport;

import java.io.Serializable;

public class Member extends DataSupport  implements Serializable{
	

	private String mname;
	private String msnum;
	private String mstuNum;
	private String mposition;
	private String mlnum;
	private String mdepartment;
	private int mid;
	private Organization organization;

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public Member() {
	}

	public int getMid() {
		return mid;
	}

	public void setMid(int mid) {
		this.mid = mid;
	}

	public Member(String mstuNum, String mlnum, String msnum, String mname, String mdepartment, String mposition) {
		this.mstuNum = mstuNum;
		this.mlnum = mlnum;
		this.msnum = msnum;
		this.mname = mname;
		this.mdepartment = mdepartment;
		this.mposition = mposition;
	}

	public String getMstuNum() {
		return mstuNum;

	}

	public void setMstuNum(String mstuNum) {
		this.mstuNum = mstuNum;
	}

	public String getMlnum() {
		return mlnum;
	}

	public void setMlnum(String mlnum) {
		this.mlnum = mlnum;
	}

	public String getMsnum() {
		return msnum;
	}

	public void setMsnum(String msnum) {
		this.msnum = msnum;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getMdepartment() {
		return mdepartment;
	}

	public void setMdepartment(String mdepartment) {
		this.mdepartment = mdepartment;
	}

	public String getMposition() {
		return mposition;
	}

	@Override
	public String toString() {
		return "Member{" +
				"mname='" + mname + '\'' +
				", msnum='" + msnum + '\'' +
				", mstuNum='" + mstuNum + '\'' +
				", mposition='" + mposition + '\'' +
				", mlnum='" + mlnum + '\'' +
				", mdepartment='" + mdepartment + '\'' +
				", mid=" + mid +
				", organization=" + organization +
				'}';
	}

	public void setMposition(String mposition) {
		this.mposition = mposition;
	}




	
	

}
